<?php

namespace app\admin\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class InfoCat extends Model
{
     	
    public function description()
    {

        return $this->hasOne("cat_description", 'cat_id', "cat_id")->where("language_id",getLangs(session("lang", 'zh_CN')));

    }
}
